package com.g17.virtualpetbackend.repo;

import com.g17.virtualpetbackend.entity.Receptionist;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.data.neo4j.repository.query.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface ReceptionistRepository extends Neo4jRepository<Receptionist,Long> {

    @Query("MATCH (n:Receptionist)  RETURN n")
    List<Receptionist> findQA();

}
